import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'routes/app_pages.dart';
import 'routes/app_routes.dart';

void main() => runApp(const BlogChyk());

class BlogChyk extends StatelessWidget {
  const BlogChyk({super.key});

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Blog - Chyk',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      // app入口
      initialRoute: AppRoutes.home,
      getPages: AppPages.routes,
    );
  }
}
